package social.p2p.controller;

import java.util.List;
import social.p2p.model.FotoAdvertisement;

/**
 *
 * @author cadmilo
 */
public class SearchEvent {

    private List<FotoAdvertisement> result;
    private int searchId;

    public SearchEvent(List<FotoAdvertisement> result, int searchId) {
        this.result = result;
        this.searchId = searchId;
    }

    public List<FotoAdvertisement> getResult() {
        return result;
    }

    public void setResult(List<FotoAdvertisement> result) {
        this.result = result;
    }

    public int getSearchId() {
        return searchId;
    }

    public void setSearchId(int searchId) {
        this.searchId = searchId;
    }
}
